<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<div class="t_bar">
	  主要知识产权证明目录 
</div>
<table  id="tabRepresentPaper2" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;table-layout:fixed;" >
			<col width="10%" />
			<col width="10%" />
			<col width="20%" />
			<col width="20%" />
			<col width="20%" />
			<col width="20%" />
			<thead >
				<tr style="border:1px solid #B7D1E6">
					<th class="TblHead" align="center" >选择</th>
					<th class="TblHead" align="center" >序号</th>
					<th class="TblHead" align="center" >授权项目名称</th>
					<th class="TblHead" align="center" >知识产权类别</th>
					<th class="TblHead" align="center" >国（区）别</th>
					<th class="TblHead" align="center" >授权号</th>
				</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none"  align="center">
						<td align="center">
							<input type="radio" class="radiobutton" name="selmainpsn2"  >
						</td>
						<td align="center">
							<span name="paper1|list[0]@seq_no" >[index]</span> 
						</td>
						<td align="center">
							<input type="text" id="accredit_item[0]" name="paper1|list[0]|accredit_item_name" label="授权项目名称"  maxlength="100" style="width:80%" class="required input_text"/>
						</td>
 						<td align="center">
							<cpt:select id="intellectual_property[index]" key="intellectual_property" name="intellectual_property" onChange="initControlValue(this.id);" value="" style="width:85%"></cpt:select>
							<input type="hidden" name="paper1|list[0]|intellectual_property_value" class="required" value=""  label="知识产权类别" />
							<input type="hidden" name="paper1|list[0]|intellectual_property_name" value=""/>
						</td> 
						<td align="center">
							<cpt:select id="country_distinction[index]" key="country_distinction" name="country_distinction" onChange="initControlValue(this.id);" value="" style="width:85%"></cpt:select>
							<input type="hidden" name="paper1|list[0]|country_distinction_value" class="required" value=""  label="国（区）别 " />
							<input type="hidden" name="paper1|list[0]|country_distinction_name" value=""/>
						</td>
						<td align="center">
							<input type="text" name="paper1|list[0]|accredit_mark" label="授权号"  maxlength="100" style="width:80%" class="required input_text"/>
						</td>
					</tr>
					 <c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/paper1/list" var="list">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr   align="center">
						<td>
							<input type="radio" class="radiobutton" name="selmainpsn2"  >
						</td>
						<td align="center">
							<span   name="paper1/list[${flag}${index}]@seq_no" >${index+1}</span> 
						</td>
						<td align="center">
						   <input type="text" id="accredit_item[${flag}${index}]" name="paper1/list[${flag}${index}]/accredit_item_name"  label="授权项目名称"   style="width:80%" maxlength="100"  class="required input_text" value="<x:out select="$list/accredit_item_name" />"/>
						</td>
						<td align="center">
							<c:set var="intellectual_property"><x:out select="$list/intellectual_property_value" /></c:set>
							<cpt:select id="intellectual_property${flag}${index}" key="intellectual_property" name="intellectual_property" onChange="initControlValue(this.id);" value="${intellectual_property }" style="width:85%"></cpt:select>
							<input type="hidden" name="paper1/list[${flag}${index}]/intellectual_property_value" class="required" value="<x:out select="$list/intellectual_property_value" />"  label="知识产权类别" />
							<input type="hidden" name="paper1/list[${flag}${index}]/intellectual_property_name" value="<x:out select="$list/intellectual_property_name" />"/>
						</td>
						<td align="center">
							<c:set var="country_distinction"><x:out select="$list/country_distinction_value" /></c:set>
							<cpt:select id="country_distinction${flag}${index}" key="country_distinction" name="country_distinction" onChange="initControlValue(this.id);" value="${country_distinction }" style="width:85%"></cpt:select>
							<input type="hidden" name="paper1/list[${flag}${index}]/country_distinction_value" class="required" value="<x:out select="$list/country_distinction_value" />"  label="国（区）别 " />
							<input type="hidden" name="paper1/list[${flag}${index}]/country_distinction_name" value="<x:out select="$list/country_distinction_name" />"/>
						</td>
						<td align="center">
						   <input type="text" name="paper1/list[${flag}${index}]/accredit_mark"   label="授权号"   style="width:80%" maxlength="100"  class="required input_text" value="<x:out select="$list/accredit_mark" />"/>
						</td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
				</tbody>
				<script type="text/javascript">
						showAllDateTag("tabRepresentPaper2");
				</script> 
				</table>
				<table width="98%" align="center">
					<tr><td>
					<input class="button"  name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tabRepresentPaper2',99,'主要知识产权证明目录最多99条')){addNewRow('tabRepresentPaper2');showDateTag('tabRepresentPaper2');}try{top.resizeFrame();}catch(e){};">
					<input class="button"  name="cmdMovePrev" type=button value="上移" onclick="movePrev('tabRepresentPaper2','selmainpsn2')">
					<input class="button"  name="cmdMoveNext" type=button value="下移" onclick="moveNext('tabRepresentPaper2','selmainpsn2')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tabRepresentPaper2','主要知识产权证明目录');countTableInt('tabRepresentPaper2','sci1_total','11');countTableInt('tabRepresentPaper2','others1_total','12');">
					</td></tr>
</table>
<br/>
<div class="t_bar">
	 技术评价证明及法律法规规定必须取得的行业准入证明文件目录
</div>
			<p><strong>类别按</strong>：1．项目技术鉴定、验收（评价）报告；2．检测报告；3．许可审批文件；4．其他证明顺序填写。</p>
<table  id="tabRepresentPaper3" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;table-layout:fixed;" >
			<col width="10%" />
			<col width="10%" />
			<col width="40%" />
			<col width="40%" />
			<thead>
				<tr style="border:1px solid #B7D1E6">
					<th class="TblHead" align="center" >选择</th>
					<th class="TblHead" align="center" >序号</th>
					<th class="TblHead" align="center" >类别</th>
					<th class="TblHead" align="center" >名称</th>
				</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none"  align="center">
						<td align="center">
							<input type="radio" class="radiobutton" name="selmainpsn3"  >
						</td>
						<td align="center">
							<span name="paper2|list[0]@seq_no" >[index]</span> 
						</td>
						<td align="center">
							<cpt:select id="report_category[index]" key="report_category" name="report_category" onChange="initControlValue(this.id);" value="" style="width:85%"></cpt:select>
							<input type="hidden" name="paper2|list[0]|report_category_value" class="required" value=""  label="类别" />
							<input type="hidden" name="paper2|list[0]|report_category_name" value=""/>
						</td>
						<td align="center">
							<input type="text" name="paper2|list[0]|report_name" label="名称"  maxlength="100" style="width:80%" class="required input_text"/>
						</td>
					</tr>
					 <c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/paper2/list" var="list">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr   align="center">
						<td>
							<input type="radio" class="radiobutton" name="selmainpsn3"  >
						</td>
						<td align="center">
							<span   name="paper2/list[${flag}${index}]@seq_no" >${index+1}</span> 
						</td>
						<td align="center">
							<c:set var="report_category"><x:out select="$list/report_category_value" /></c:set>
							<cpt:select id="report_category${flag}${index}" key="report_category" name="report_category" onChange="initControlValue(this.id);" value="${report_category }" style="width:85%"></cpt:select>
							<input type="hidden" name="paper2/list[${flag}${index}]/report_category_value" class="required" value="<x:out select="$list/report_category_value" />"  label="类别" />
							<input type="hidden" name="paper2/list[${flag}${index}]/report_category_name" value="<x:out select="$list/report_category_name" />"/>
						</td>
						<td align="center">
						   <input type="text" name="paper2/list[${flag}${index}]/report_name"   label="名称"   style="width:80%" maxlength="100"  class="required input_text" value="<x:out select="$list/report_name" />"/>
						</td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
				</tbody>
				<script type="text/javascript">
						showAllDateTag("tabRepresentPaper3");
				</script> 
				</table>
				<table width="98%" align="center">
					<tr><td>
					<input class="button"  name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tabRepresentPaper3',99,'技术评价证明及法律法规规定必须取得的行业准入证明文件目录最多99条')){addNewRow('tabRepresentPaper3');showDateTag('tabRepresentPaper3');}try{top.resizeFrame();}catch(e){};">
					<input class="button"  name="cmdMovePrev" type=button value="上移" onclick="movePrev('tabRepresentPaper3','selmainpsn3')">
					<input class="button"  name="cmdMoveNext" type=button value="下移" onclick="moveNext('tabRepresentPaper3','selmainpsn3')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tabRepresentPaper3','技术评价证明及法律法规规定必须取得的行业准入证明文件目录');countTableInt('tabRepresentPaper3','sci1_total','11');countTableInt('tabRepresentPaper3','others1_total','12');">
					</td></tr>
</table> 
<br/>
	<div class="t_bar">
	 应用单位目录 
</div>
<table  id="tabRepresentPaper1" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;table-layout:fixed;" >
			<col width="5%" />
			<col width="5%" />
			<col width="12%" />
			<col width="12%" />
			<col width="12%" />
			<col width="10%" />
			<col width="25%" />
			<col width="14%" />
			
			<thead >
				<tr style="border:1px solid #B7D1E6">
					<th class="TblHead" align="center" >选择</th>
					<th class="TblHead" align="center" >序号</th>
					<th class="TblHead" align="center" >应用单位名称</th>
					<th class="TblHead" align="center" >应用起始时间</th>
					<th class="TblHead" align="center" >应用单位联系人</th>
					<th class="TblHead" align="center" >单位电话</th>
					<th class="TblHead" align="center" >应用本项目产生的经济效益（万元）</th>
					<th class="TblHead" align="center" >已提交应用证明（√）</th> 
				</tr>
			</thead>
			<tbody id="tab">
			<input type="hidden" id="nowDate" value="${sercverSysDate1}" label="当前日期"/>
					<tr style="display:none"  align="center">
						<td align="center">
							<input type="radio" class="radiobutton" name="selmainpsn1"  >
						</td>
						<td align="center">
							<span name="paper3|list[0]@seq_no" >[index]</span> 
						</td>
						<td align="center">
							<input type="text" id="apply_unit[0]" name="paper3|list[0]|apply_unit_name" label="应用单位名称"  maxlength="100" style="width:80%" class="required input_text"/>
						</td>
						<td align="center">						
			          		<input id="apply_start_date_[0]" name="paper3|list[0]|apply_start_date"  class=" required date  " label="应用起始时间"  style="width:60%"/>
						</td>
						<td align="center">
							<input type="text" name="paper3|list[0]|apply_contacts_people" label="应用单位联系人"  maxlength="100" style="width:80%" class="required input_text"/>
						</td>
						<td align="center">
							<input type="text" name="paper3|list[0]|apply_contacts_phone" label="应用单位电话"  maxlength="100" style="width:80%" class="required input_text"/>
						</td>
						<td align="center">
							<input type="text" name="paper3|list[0]|economic_benefit" onfocus="InitInput.setNumber(this,7,2,2)"  label="应用本项目产生的经济效益"   style="width:80%;text-align:right;"  maxlength="100" class="required input_text"/>
						</td>
						<td align="center">
							<cpt:select id="apply_prove[index]" key="yesorno" name="apply_prove" onChange="initControlValue(this.id);" value="" style="width:85%"></cpt:select>
							<input type="hidden" name="paper3|list[0]|apply_prove_value" class="required" value=""  label="已提交应用证明" />
							<input type="hidden" name="paper3|list[0]|apply_prove_name" value=""/>
						</td>
					</tr>
					 <c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/paper3/list" var="list">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr   align="center">
						<td>
							<input type="radio" class="radiobutton" name="selmainpsn1"  >
						</td>
						<td align="center">
							<span   name="paper3/list[${flag}${index}]@seq_no" >${index+1}</span> 
						</td>
						<td align="center">
						   <input type="text" id="apply_unit[${flag}${index}]" name="paper3/list[${flag}${index}]/apply_unit_name"  label="应用单位名称"   style="width:80%" maxlength="100"  class="required input_text" value="<x:out select="$list/apply_unit_name" />"/>
						</td>
						<td align="center">
						   <c:set var="apply_start_date" scope="page"><x:out select="$list/apply_start_date"/></c:set>
							<cpt:date id="apply_start_date${flag}${index}" name="paper3/list[${flag}${index}]/apply_start_date" value="${apply_start_date}" className=" required date " label="应用起始时间"  size="8"></cpt:date>
						</td>
						<td align="center">
						   <input type="text" name="paper3/list[${flag}${index}]/apply_contacts_people"   label="应用单位联系人"   style="width:80%" maxlength="100"  class="required input_text" value="<x:out select="$list/apply_contacts_people" />"/>
						</td>
						<td align="center">
						   <input type="text" name="paper3/list[${flag}${index}]/apply_contacts_phone"   label="应用单位电话"   style="width:80%" maxlength="100"  class="required input_text" value="<x:out select="$list/apply_contacts_phone" />"/>
						</td>
						<td align="center">
						   <input type="text" name="paper3/list[${flag}${index}]/economic_benefit" onfocus="InitInput.setNumber(this,7,2,2)"  label="应用本项目产生的经济效益"   style="width:80%;text-align:right;" maxlength="100"  class="required" value="<x:out select="$list/economic_benefit" />"/>
						</td>
						<td align="center">
							<c:set var="apply_prove"><x:out select="$list/apply_prove_value" /></c:set>
							<cpt:select id="apply_prove${flag}${index}" key="yesorno" name="apply_prove" onChange="initControlValue(this.id);" value="${apply_prove }" style="width:85%"></cpt:select>
							<input type="hidden" name="paper3/list[${flag}${index}]/apply_prove_value" class="required" value="<x:out select="$list/apply_prove_value" />"  label="已提交应用证明" />
							<input type="hidden" name="paper3/list[${flag}${index}]/apply_prove_name" value="<x:out select="$list/apply_prove_name" />"/>
						</td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
				</tbody>
				<script type="text/javascript">
						showAllDateTag("tabRepresentPaper1");
				</script> 
				</table>
				<table width="98%" align="center">
					<tr><td>
					<input class="button"  name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tabRepresentPaper1',99,'应用单位目录最多99条')){addNewRow('tabRepresentPaper1');showDateTag('tabRepresentPaper1');}try{top.resizeFrame();}catch(e){};">
					<input class="button"  name="cmdMovePrev" type=button value="上移" onclick="movePrev('tabRepresentPaper1','selmainpsn1')">
					<input class="button"  name="cmdMoveNext" type=button value="下移" onclick="moveNext('tabRepresentPaper1','selmainpsn1')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tabRepresentPaper1','应用单位目录 ');countTableInt('tabRepresentPaper1','sci1_total','11');countTableInt('tabRepresentPaper1','others1_total','12');">
					</td></tr>
</table> 				